import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// import Button from 'vant/lib/button';
// import 'vant/lib/button/style';
// Vue.component('VantButton',Button)

import Vant from 'vant';
import 'vant/lib/index.css';
import axios from 'axios'
import router from './router'

Vue.use(Vant);

axios.defaults.baseURL = 'http://192.168.1.236:9095'; // 本地
axios.defaults.headers.common['Authorization'] = 'Bearer 172ebfad-7b43-4027-9b95-87592391fa03';//android.getToken();//android.getToken();//
// axios.defaults.baseURL = android.getBaseUrl(); // 线上服务器
// axios.defaults.headers.common['Authorization'] = android.getToken();
Vue.prototype.axios= axios;

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
